#ifndef D_VEC2F_H
#define D_VEC2F_H

namespace d_Math
{
	class d_Vec2f
	{
	public:
		float p[2];
		d_Vec2f();  //Initialize to zero everything
		d_Vec2f(float x, float y); //Put values
		d_Vec2f(const d_Vec2f &v); //Copy constructor
		float &operator [] (int i);
		float operator [] (int i) const;
		d_Vec2f operator + (const d_Vec2f v) const;
		d_Vec2f operator - (const d_Vec2f v) const;
		d_Vec2f operator * (const float a) const;
		d_Vec2f operator / (const float a) const;
	};
}

#endif

